# _*_ coding:utf-8 _*_
"""
__Author__    :  Icy
__Date__      :  2018/5/4
__File__      :  application.py
__Desc__      : 完成tornado.web.Application()的实例化
"""
from url import url
import tornado.web
import os
from pathlib import Path

setting = dict(
	login_url="/login",
	cookie_secret='sf8sk23rsfl8sfkaks8k2ks-',
	template_path=os.path.join(os.path.dirname(__file__), 'template'),
	static_path=os.path.join(os.path.dirname(__file__), 'static')
)
application = tornado.web.Application(
	handlers=url,
	**setting
)
